package com.gcspring.h2db.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: guc
 * @Description: 数据设置
 * @Date: 2022-8-24 10:22
 * @Version: 1.0
 */
@Component
@ConfigurationProperties(prefix = "data-config.db")
public class DataConfig {
    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    private Boolean enable = Boolean.FALSE;

    public List<String> getSql() {
        return sql;
    }

    public void setSql(List<String> sql) {
        this.sql = sql;
    }

    private List<String> sql;
}
